#include "Flower.h"

Flower::Flower(D3DXVECTOR2 position,EState state) : GameObject(position,EObjectType::EFlower,state)
{
	m_pSprite = new CSprite(ResourceManager::GetIns()->GetTexture(EResource::Flower_ID),4,1,4,0,3);
	m_pSprite->m_TimeAni = 0.2f;
}

Flower::~Flower()
{
	GameObject::~GameObject();
}

void Flower::Update(float dt)
{
	m_pSprite->Update(dt);
	m_position += m_velocity*dt*60;
}

void Flower::UpdateCollision(GameObject* other,float dt)
{

}